<?php
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
include 'includes/viewitem.php';
?>

<div id="anchorItem<?php echo JRequest::getInt('id'); ?>" class="viewItem type<?php echo ucfirst($cf_type);?>">
<div id="itemHeader">
	<?php if ($this->params->get('show_page_heading', 1)) : ?>	
	<h1 class="pageHeading">
		<?php echo $this->escape($this->params->get('page_heading')); ?>		
	</h1>
    <?php endif;?>    
	<?php if ($params->get('show_title')) : ?>
    <h1 class="itemTitle">
		<?php echo $this->escape($this->item->title); ?>		
    </h1>
	<?php endif;?>

</div>
<?php echo $this->loadTemplate(''.$cf_type.'');?>
</div>


